package cn.com.hhrcw.service;

import cn.com.hhrcw.utils.huawei.CreateMeetingParam;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;

/**
 * @ProjectName: recruit-boot-parent
 * @Package: cn.com.hhrcw.service
 * @ClassName: HuaWeiRoomService
 * @Author: 朱修轩
 * @Description: 华为云会议室相关
 * @Date: 2021/5/18 15:38
 * @Version: 1.0
 */
public interface HuaWeiRoomService {
    /**
     * Title: 获取登录token <br/>
     * author 朱修轩 <br/>
     * date 2021/5/18 16:01 <br/> 
     * Description () <br/>
     * @return
     */
    String getToken();

    /**
     * Title: appId 方式获取token <br/>
     * author 朱修轩 <br/>
     * date 2021/5/20 16:55 <br/>
     * Description () <br/>
     * @return
     */
    String getToken2();

    /**
     * Title: 创建会议室 <br/>
     * author 朱修轩 <br/>
     * date 2021/5/19 14:43 <br/> 
     * Description () <br/>
     * @param param
     * @return
     */
    JSONObject createMeeting(CreateMeetingParam param);

    /**
     * 获取会议室列表
     * @return
     */
    JSONArray meetingList();

    /**
     * 获取会议室列表2
     *
     * @param searchKey
     * @return
     */
    JSONArray meetingList2(String searchKey);

    /**
     * Title: 取消会议 <br/>
     * author 朱修轩 <br/>
     * date 2021/5/20 14:23 <br/>
     * Description () <br/>
     * @param conferenceID
     * @return
     */
    Boolean cancelMeeting(String conferenceID);

    /**
     * Title: 修改会议室 <br/>
     * author 朱修轩 <br/>
     * date 2021/5/21 10:09 <br/>
     * Description () <br/>
     * @param conferenceID
     * @param param
     * @return
     */
    Boolean updateMeeting(String conferenceID,CreateMeetingParam param);
}
